<%- @page_title = _("Classes Belonging to %s", h(@user.name)) -%>
<h2><%= @page_title %></h2>
<%- unless @teachings.empty? -%>
  <ul>
    <%- @teachings.each do |t| -%>
      <li><%= link_to(h(t.project.title), class_path(t.project_id, t)) %></li>
    <%- end -%>
  </ul>
<%- else -%>
  <p>No class has been added by this user, yet.</p>
<%- end -%>